package dp;

public class CommandeLampe implements Commande {
	
	private Lampe lampe;
	
	public CommandeLampe(Lampe lampe) {
		this.lampe = lampe;
	}

	@Override
	public void marche() {
		lampe.demarrer();
	}

	@Override
	public void arret() {
		lampe.arreter();
	}
}
